import request from './request'
import mockRequest from './mockRequest'

export const reqGetVideoList = () => request.get('/allvideo')
export const reqGetVideoInfo = (id: number) => request.get(`/videoinfo?id=${id}`)

export const reqMockGetVideoList = () => mockRequest.get('/mockvideolist')